<?php /* Smarty version 2.6.26, created on 2014-10-27 14:37:17
         compiled from index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'mb_substr', 'index.html', 46, false),array('modifier', 'date_format', 'index.html', 50, false),)), $this); ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>黑色Html5响应式个人博客模板——主题《如影随形》</title>
<meta name="keywords" content="个人博客模板,博客模板,响应式" />
<meta name="description" content="如影随形主题的个人博客模板，神秘、俏皮。" />
<link href="<?php echo @__VIEW__; ?>
/Index/css/base.css" rel="stylesheet">
<link href="<?php echo @__VIEW__; ?>
/Index/css/index.css" rel="stylesheet">
<link href="<?php echo @__VIEW__; ?>
/Index/css/media.css" rel="stylesheet">
<link href="<?php echo @__VIEW__; ?>
/Index/css/page.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<!--[if lt IE 9]>
<script src="js/modernizr.js"></script>
<![endif]-->
</head>
<body>
<div class="ibody">
  <header>
    <h1>如影随形</h1>
    <h2>影子是一个会撒谎的精灵，它在虚空中流浪和等待被发现之间;在存在与不存在之间....</h2>
    <div class="logo"><a href="/"></a></div>
    <nav id="topnav">
        <a href="<?php echo @__ROOT__; ?>
">首页</a>
         <?php unset($this->_sections['c']);
$this->_sections['c']['loop'] = is_array($_loop=$this->_tpl_vars['category']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['c']['name'] = 'c';
$this->_sections['c']['show'] = true;
$this->_sections['c']['max'] = $this->_sections['c']['loop'];
$this->_sections['c']['step'] = 1;
$this->_sections['c']['start'] = $this->_sections['c']['step'] > 0 ? 0 : $this->_sections['c']['loop']-1;
if ($this->_sections['c']['show']) {
    $this->_sections['c']['total'] = $this->_sections['c']['loop'];
    if ($this->_sections['c']['total'] == 0)
        $this->_sections['c']['show'] = false;
} else
    $this->_sections['c']['total'] = 0;
if ($this->_sections['c']['show']):

            for ($this->_sections['c']['index'] = $this->_sections['c']['start'], $this->_sections['c']['iteration'] = 1;
                 $this->_sections['c']['iteration'] <= $this->_sections['c']['total'];
                 $this->_sections['c']['index'] += $this->_sections['c']['step'], $this->_sections['c']['iteration']++):
$this->_sections['c']['rownum'] = $this->_sections['c']['iteration'];
$this->_sections['c']['index_prev'] = $this->_sections['c']['index'] - $this->_sections['c']['step'];
$this->_sections['c']['index_next'] = $this->_sections['c']['index'] + $this->_sections['c']['step'];
$this->_sections['c']['first']      = ($this->_sections['c']['iteration'] == 1);
$this->_sections['c']['last']       = ($this->_sections['c']['iteration'] == $this->_sections['c']['total']);
?>
              <a href="?a=calssify&cid=<?php echo $this->_tpl_vars['category'][$this->_sections['c']['index']]['cid']; ?>
" <?php echo $this->_tpl_vars['category'][$this->_sections['c']['index']]['active']; ?>
><?php echo $this->_tpl_vars['category'][$this->_sections['c']['index']]['catname']; ?>
</a>
         <?php endfor; endif; ?>
    </nav>
  </header>
  <article>
    <div class="banner">
      <ul class="texts">
        <p>The best life is use of willing attitude, a happy-go-lucky life. </p>
        <p>最好的生活是用心甘情愿的态度，过随遇而安的生活。</p>
      </ul>
    </div>
    <div class="bloglist">
      <h2>
        <p><span>推荐</span>文章</p>
      </h2>
       <?php unset($this->_sections['d']);
$this->_sections['d']['loop'] = is_array($_loop=$this->_tpl_vars['data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['d']['name'] = 'd';
$this->_sections['d']['show'] = true;
$this->_sections['d']['max'] = $this->_sections['d']['loop'];
$this->_sections['d']['step'] = 1;
$this->_sections['d']['start'] = $this->_sections['d']['step'] > 0 ? 0 : $this->_sections['d']['loop']-1;
if ($this->_sections['d']['show']) {
    $this->_sections['d']['total'] = $this->_sections['d']['loop'];
    if ($this->_sections['d']['total'] == 0)
        $this->_sections['d']['show'] = false;
} else
    $this->_sections['d']['total'] = 0;
if ($this->_sections['d']['show']):

            for ($this->_sections['d']['index'] = $this->_sections['d']['start'], $this->_sections['d']['iteration'] = 1;
                 $this->_sections['d']['iteration'] <= $this->_sections['d']['total'];
                 $this->_sections['d']['index'] += $this->_sections['d']['step'], $this->_sections['d']['iteration']++):
$this->_sections['d']['rownum'] = $this->_sections['d']['iteration'];
$this->_sections['d']['index_prev'] = $this->_sections['d']['index'] - $this->_sections['d']['step'];
$this->_sections['d']['index_next'] = $this->_sections['d']['index'] + $this->_sections['d']['step'];
$this->_sections['d']['first']      = ($this->_sections['d']['iteration'] == 1);
$this->_sections['d']['last']       = ($this->_sections['d']['iteration'] == $this->_sections['d']['total']);
?>
      <div class="blogs">
        <h3><a href="?a=blog&cid=<?php echo $this->_tpl_vars['data'][$this->_sections['d']['index']]['cid']; ?>
&bid=<?php echo $this->_tpl_vars['data'][$this->_sections['d']['index']]['bid']; ?>
"><?php echo $this->_tpl_vars['data'][$this->_sections['d']['index']]['title']; ?>
</a></h3>
        <figure><img src="<?php echo @__ROOT__; ?>
/<?php echo $this->_tpl_vars['data'][$this->_sections['d']['index']]['thumb']; ?>
" ></figure>
        <ul>
          <p><?php echo ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['d']['index']]['content'])) ? $this->_run_mod_handler('mb_substr', true, $_tmp, 0, 250, 'utf-8') : mb_substr($_tmp, 0, 250, 'utf-8')); ?>
...</p>
          <a href="?a=blog&cid=<?php echo $this->_tpl_vars['data'][$this->_sections['d']['index']]['cid']; ?>
&bid=<?php echo $this->_tpl_vars['data'][$this->_sections['d']['index']]['bid']; ?>
" target="_blank" class="readmore">阅读全文&gt;&gt;</a>
        </ul>
        <p class="autor"><span>作者：Linda</span><span>分类：【<a href="?cid=<?php echo $this->_tpl_vars['data'][$this->_sections['d']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['data'][$this->_sections['d']['index']]['catname']; ?>
</a>】</span><span>浏览（<a href="/"><?php echo $this->_tpl_vars['data'][$this->_sections['d']['index']]['click']; ?>
</a>）</span></p>
        <div class="dateview"><?php echo ((is_array($_tmp=$this->_tpl_vars['data'][$this->_sections['d']['index']]['addtime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y-%m-%d') : smarty_modifier_date_format($_tmp, '%Y-%m-%d')); ?>
</div>
        <?php endfor; endif; ?>
      </div>
      <div id="page" >
            <?php echo $this->_tpl_vars['page']; ?>

        </div>
    </div>
  </article>
  <aside>
    <div class="topspaceinfo">
      <h1>执子之手，与子偕老</h1>
      <p>于千万人之中，我遇见了我所遇见的人....</p>
    </div>
    <div class="about_c">
      <p>网名：Linda</p>
      <p>职业：PHP程序员 </p>
      <p>籍贯：地球村</p>
      <p>电话：110120119……</p>
      <p>邮箱：651893315@qq.com</p>
    </div>
    <div class="bdsharebuttonbox"><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href="#" class="bds_more" data-cmd="more"></a></div>
    <div class="tj_news">
      <h2>
        <p class="tj_t1">最新文章</p>
      </h2>
      <ul>
       <?php unset($this->_sections['n']);
$this->_sections['n']['loop'] = is_array($_loop=$this->_tpl_vars['NewBlog']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['n']['name'] = 'n';
$this->_sections['n']['show'] = true;
$this->_sections['n']['max'] = $this->_sections['n']['loop'];
$this->_sections['n']['step'] = 1;
$this->_sections['n']['start'] = $this->_sections['n']['step'] > 0 ? 0 : $this->_sections['n']['loop']-1;
if ($this->_sections['n']['show']) {
    $this->_sections['n']['total'] = $this->_sections['n']['loop'];
    if ($this->_sections['n']['total'] == 0)
        $this->_sections['n']['show'] = false;
} else
    $this->_sections['n']['total'] = 0;
if ($this->_sections['n']['show']):

            for ($this->_sections['n']['index'] = $this->_sections['n']['start'], $this->_sections['n']['iteration'] = 1;
                 $this->_sections['n']['iteration'] <= $this->_sections['n']['total'];
                 $this->_sections['n']['index'] += $this->_sections['n']['step'], $this->_sections['n']['iteration']++):
$this->_sections['n']['rownum'] = $this->_sections['n']['iteration'];
$this->_sections['n']['index_prev'] = $this->_sections['n']['index'] - $this->_sections['n']['step'];
$this->_sections['n']['index_next'] = $this->_sections['n']['index'] + $this->_sections['n']['step'];
$this->_sections['n']['first']      = ($this->_sections['n']['iteration'] == 1);
$this->_sections['n']['last']       = ($this->_sections['n']['iteration'] == $this->_sections['n']['total']);
?>
        <li><a href="?m=Index&c=Index&a=blog&cid=<?php echo $this->_tpl_vars['NewBlog'][$this->_sections['n']['index']]['cid']; ?>
&bid=<?php echo $this->_tpl_vars['NewBlog'][$this->_sections['n']['index']]['bid']; ?>
" class="title"><?php echo $this->_tpl_vars['NewBlog'][$this->_sections['n']['index']]['title']; ?>
</a></li>
         <?php endfor; endif; ?>
      </ul>
    </div>
  </aside>
  <script src="<?php echo @__VIEW__; ?>
/Index/js/silder.js"></script>
  <div class="clear"></div>
  <!-- 清除浮动 --> 
</div>
</body>
</html>